using System;
using System.Collections.Generic;
using System.Text;
using AF_ORM.CORE;
namespace Bussiness.Entity
{
                

     public class Vw_aspnet_UsersEntity:AF_ORM.CORE.BaseEntity
    {
         public Vw_aspnet_UsersEntity()
         {
             tableName = "Vw_aspnet_Users";


			 fieldInfos.Add(new FieldInfo("Vw_aspnet_Users","ApplicationId","ApplicationId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_Users","IsAnonymous","IsAnonymous","bool",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_Users","LastActivityDate","LastActivityDate","DateTime",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_Users","LoweredUserName","LoweredUserName","string",256,false,false,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_Users","MobileAlias","MobileAlias","string",16,false,true,true,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_Users","UserId","UserId","Guid",0,false,false,false,false,"","",""));
			 fieldInfos.Add(new FieldInfo("Vw_aspnet_Users","UserName","UserName","string",256,false,false,true,false,"","",""));
         }
       //properties
                    
		 protected Guid m_ApplicationId;
		 protected bool m_IsAnonymous;
		 protected DateTime m_LastActivityDate;
		 protected string m_LoweredUserName;
		 protected string m_MobileAlias;
		 protected Guid m_UserId;
		 protected string m_UserName;

		 public Guid ApplicationId

          { 
                get { 
                    return m_ApplicationId;}

                set{m_ApplicationId=value;

                    GetField("ApplicationId").Set();
                    GetField("ApplicationId").IsNull=(value == null);           
                    }
          }
		 public bool IsAnonymous

          { 
                get { 
                    return m_IsAnonymous;}

                set{m_IsAnonymous=value;

                    GetField("IsAnonymous").Set();
                    GetField("IsAnonymous").IsNull=(value == null);           
                    }
          }
		 public DateTime LastActivityDate

          { 
                get { 
                    return m_LastActivityDate;}

                set{m_LastActivityDate=value;

                    GetField("LastActivityDate").Set();
                    GetField("LastActivityDate").IsNull=(value == null);           
                    }
          }
		 public string LoweredUserName

          { 
                get { 
                    return m_LoweredUserName;}

                set{m_LoweredUserName=value;

                    GetField("LoweredUserName").Set();
                    GetField("LoweredUserName").IsNull=(value == null);           
                    }
          }
		 public string MobileAlias

          { 
                get { 
                    return m_MobileAlias;}

                set{m_MobileAlias=value;

                    GetField("MobileAlias").Set();
                    GetField("MobileAlias").IsNull=(value == null);           
                    }
          }
		 public Guid UserId

          { 
                get { 
                    return m_UserId;}

                set{m_UserId=value;

                    GetField("UserId").Set();
                    GetField("UserId").IsNull=(value == null);           
                    }
          }
		 public string UserName

          { 
                get { 
                    return m_UserName;}

                set{m_UserName=value;

                    GetField("UserName").Set();
                    GetField("UserName").IsNull=(value == null);           
                    }
          }

}
}
